<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
    <title>西京团队管理系统</title>
    <link rel="stylesheet" href="../../static/iconfont/iconfont.css" >
    <link rel="stylesheet" href="../../static/frameset.css" >
</head>
<body>

    <div id="J_wrap" class="m_wrap m_box_v p_index none">
        <div class="m_top">
            <headers v-on:callback="headerHandle"></headers>
        </div>
        <div class="m_content m_flex1 m_box">
            <menunav index="inquiry" sub="hold" :userobj.sync="userobj"></menunav>
            <div class="container m_over_x m_flex1">
                <div class="taken_box">
                    <ul class="breadcrumbs">
                        <li><span>团队查询</span>&gt;</li>
                        <li class="on">持仓查询</li>
                    </ul>
                    <div class="w836">
                        <div class="m_search m_box">
                            <div class="m_flex1">
                                <input type="text" class="m_input medium" v-inputnumber placeholder="号段" v-model="team_sn">
                                <input type="text" class="m_input medium" v-inputnumber placeholder="负责人交易号" v-model="no">
                                <button class="m_btn line" v-on:click="reSearch">查询</button>
                                <button class="m_btn line" v-on:click="reset">重置</button>
                            </div>
                            <a class="m_btn" href="/team/collection/export?team_sn={{team_sn}}&no={{no}}" target="_blank"><i class="icon-export"></i>导出</a>
                        </div>
                        <table class="m_table">
                            <thead>
                                <tr>
                                    <th>号段</th>
                                    <th>负责人交易号</th>
                                    <th>姓名</th>
                                    <th>考核藏品</th>
                                    <th>持仓统计</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-if="list.length < 1">
                                    <td colspan="5">
                                        <template v-if="search">没有符合条件的内容</template>
                                        <template v-else>暂无数据</template>
                                    </td>
                                </tr>
                                <tr v-for="item in list" v-if="list.length > 0">
                                    <td>{{ item.team_sn }}</td>
                                    <td>{{ item.no }}</td>
                                    <td>{{ item.name }}</td>
                                    <td><div class="m_textOver">{{ item.col_name }}</div></td>
                                    <td>{{ item.total }}</td>
                                </tr>
                            </tbody>
                        </table>
                        <pages :cur.sync="cur" :total.sync="total" :all.sync="all" v-on:btn-click="getData"></pages>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <script src="../../js/plugins/zepto/zepto.min.js"></script>
    <script src="../../js/plugins/vue/vue.min.js"></script>
    <script src="../../js/plugins/seajs/sea.js"></script>
    <script src="../../js/plugins/seajs/seajs-text.js"></script>

    <script>
        seajs.use( "../../js/page/inquiry/hold" );
    </script>

</body>
</html>
